import requests
from lxml import etree
import lxml.html
from mysqlDb.db import ConDb

li = [
    "https://www.dhu.edu.cn/2015/0306/c14087a58675/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58669/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58670/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58671/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58672/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58673/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58674/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58676/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58677/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58678/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58679/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58680/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58681/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58682/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58683/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58684/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58685/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58686/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58687/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58688/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58689/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58690/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58691/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58692/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58693/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58694/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58695/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58696/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58697/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58698/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58699/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5955a58700/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58701/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58702/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58703/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58704/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58705/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58706/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58707/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58708/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58709/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58710/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58711/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58712/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58714/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58715/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58716/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58717/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58718/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58719/page.htm",
    "https://www.dhu.edu.cn/2015/0306/c5956a58720/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c14087a59427/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c14087a59428/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59206/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59207/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59208/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59209/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59210/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59211/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59212/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59213/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59214/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59215/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59216/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59217/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59218/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59219/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59220/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59221/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59222/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59223/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59224/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59225/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59226/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59227/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59228/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59229/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59230/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59231/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59233/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59234/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59235/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59236/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59237/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59238/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59240/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59241/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59242/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59243/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5957a59426/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59245/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59246/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59248/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59249/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59251/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59252/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59253/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59254/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59256/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59259/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59260/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59261/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59262/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59263/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59264/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59266/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59267/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59268/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59269/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59270/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59271/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59273/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59275/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59277/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5958a59279/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59280/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59281/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59282/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59283/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59284/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59285/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59286/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59288/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59289/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59290/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59291/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59292/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59293/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59294/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59295/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59296/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59297/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59298/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59299/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59300/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59301/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59302/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59303/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59304/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59305/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59306/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59307/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59308/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59309/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59310/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5959a59311/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59312/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59313/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59314/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59315/page.htm",
    # "https://www.dhu.edu.cn/2015/0309/c5960a59316/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59317/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59319/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59320/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59321/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59322/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59323/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59324/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59325/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5960a59326/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5961a59327/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5961a59328/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5961a59329/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5961a59330/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5961a59332/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5961a59333/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59334/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59335/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59336/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59337/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59338/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59339/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59340/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59341/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59342/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59343/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59344/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59345/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59346/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59347/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59348/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59349/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5962a59350/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59351/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59352/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59353/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59354/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59355/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59356/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59357/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59358/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59359/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59360/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59361/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59362/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5963a59363/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59364/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59365/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59366/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59367/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59368/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59369/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59370/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59371/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59372/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59374/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59375/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59376/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59377/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59378/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5964a59379/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5965a59413/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5965a59414/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5965a59418/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5965a59419/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5966a59421/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5966a59423/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5966a59424/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5966a59425/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5968a59430/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5968a59431/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5969a59432/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5969a59433/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c5970a59434/page.htm",
    "https://www.dhu.edu.cn/2015/0309/c7773a59228/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c10295a117667/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c10295a117669/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c11566a117796/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c14087a117652/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5955a117779/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5955a117780/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5955a117781/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5955a117782/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5955a117783/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5955a117784/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5955a117785/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5955a117786/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5956a117787/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5956a117788/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5956a117789/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5956a117790/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5957a117791/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5957a117793/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5957a117794/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5957a117795/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5957a117797/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5957a117798/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5957a117799/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5957a117800/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5957a117801/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5959a117670/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5959a117671/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5960a117777/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5960a117778/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5961a117774/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5961a117775/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5962a117772/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5962a117773/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5963a117764/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5963a117766/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5963a117767/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5963a117768/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5963a117769/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5964a117673/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5964a117674/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5964a117675/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5964a117776/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5965a117665/page.htm",
    "https://www.dhu.edu.cn/2015/0724/c5966a117654/page.htm",
    "https://www.dhu.edu.cn/2015/0910/c5957a119027/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5955a122939/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5955a122954/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5956a122955/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5958a123000/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5958a123001/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5958a123002/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5959a126693/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5959a126694/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5959a126695/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5959a126696/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5961a126673/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5962a123006/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5962a123007/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5962a123008/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5963a123009/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5963a123010/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5963a123011/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5964a126674/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5964a126675/page.htm",
    "https://www.dhu.edu.cn/2015/0911/c5964a126676/page.htm",
    "https://www.dhu.edu.cn/2015/0914/c5955a126750/page.htm",
    "https://www.dhu.edu.cn/2015/0914/c5957a126744/page.htm",
    "https://www.dhu.edu.cn/2015/0914/c5957a126745/page.htm",
    "https://www.dhu.edu.cn/2015/0914/c5957a126746/page.htm",
    "https://www.dhu.edu.cn/2015/0914/c5958a126755/page.htm",
    "https://www.dhu.edu.cn/2015/0914/c5959a126771/page.htm",
    "https://www.dhu.edu.cn/2015/0914/c5960a126777/page.htm",
    "https://www.dhu.edu.cn/2015/0914/c5961a126780/page.htm",
    "https://www.dhu.edu.cn/2015/0916/c5965a126855/page.htm",
    "https://www.dhu.edu.cn/2015/1103/c5965a129317/page.htm",
    "https://www.dhu.edu.cn/2015/1228/c5962a141016/page.htm",
    "https://www.dhu.edu.cn/2016/0324/c5955a144021/page.htm",
    "https://www.dhu.edu.cn/2016/0324/c5957a144018/page.htm",
    "https://www.dhu.edu.cn/2016/0324/c5958a144032/page.htm",
    "https://www.dhu.edu.cn/2016/0324/c5959a144029/page.htm",
    "https://www.dhu.edu.cn/2016/0324/c5960a144069/page.htm",
    "https://www.dhu.edu.cn/2016/0324/c5963a144035/page.htm",
    "https://www.dhu.edu.cn/2016/0324/c5966a144037/page.htm",
    "https://www.dhu.edu.cn/2016/0325/c5959a144100/page.htm",
    "https://www.dhu.edu.cn/2016/0325/c5959a144115/page.htm",
    "https://www.dhu.edu.cn/2016/0325/c5961a144114/page.htm",
    "https://www.dhu.edu.cn/2016/0328/c5955a144286/page.htm",
    "https://www.dhu.edu.cn/2016/0328/c5961a144276/page.htm",
    "https://www.dhu.edu.cn/2016/0328/c5962a144198/page.htm",
    "https://www.dhu.edu.cn/2016/0329/c5961a144310/page.htm",
    "https://www.dhu.edu.cn/2016/0331/c5964a144427/page.htm",
    "https://www.dhu.edu.cn/2016/0401/c10295a144480/page.htm",
    "https://www.dhu.edu.cn/2016/0401/c5957a144485/page.htm",
    "https://www.dhu.edu.cn/2016/0405/c5956a144529/page.htm",
    "https://www.dhu.edu.cn/2016/0405/c5957a144530/page.htm",
    "https://www.dhu.edu.cn/2016/0405/c5958a144528/page.htm",
    "https://www.dhu.edu.cn/2016/0405/c5967a144531/page.htm",
    "https://www.dhu.edu.cn/2016/0407/c5967a144660/page.htm",
    "https://www.dhu.edu.cn/2016/0612/c5967a147531/page.htm",
    "https://www.dhu.edu.cn/2016/0612/c5967a147533/page.htm",
    "https://www.dhu.edu.cn/2016/0705/c5958a148525/page.htm",
    "https://www.dhu.edu.cn/2017/0322/c5957a175927/page.htm",
    "https://www.dhu.edu.cn/2017/0322/c5960a175924/page.htm",
    "https://www.dhu.edu.cn/2017/0322/c5960a175942/page.htm",
    "https://www.dhu.edu.cn/2017/0322/c5962a175923/page.htm",
    "https://www.dhu.edu.cn/2017/0322/c5963a175931/page.htm",
    "https://www.dhu.edu.cn/2017/0322/c5964a175946/page.htm",
    "https://www.dhu.edu.cn/2017/0323/c5955a176325/page.htm",
    "https://www.dhu.edu.cn/2017/0323/c5965a176129/page.htm",
    "https://www.dhu.edu.cn/2017/0324/c5955a176352/page.htm",
    "https://www.dhu.edu.cn/2017/0324/c5955a176452/page.htm",
    "https://www.dhu.edu.cn/2017/0327/c10295a176613/page.htm",
    "https://www.dhu.edu.cn/2017/0327/c5956a176542/page.htm",
    "https://www.dhu.edu.cn/2017/0327/c5962a176563/page.htm",
    "https://www.dhu.edu.cn/2017/0327/c5964a176612/page.htm",
    "https://www.dhu.edu.cn/2017/0401/c5961a177101/page.htm",
    "https://www.dhu.edu.cn/2017/0911/c11566a182509/page.htm",
    "https://www.dhu.edu.cn/2017/0911/c5958a182502/page.htm",
    "https://www.dhu.edu.cn/2017/0914/c5958a182613/page.htm",
    "https://www.dhu.edu.cn/2017/0918/c17311a183455/page.htm",
    "https://www.dhu.edu.cn/2017/0918/c5963a183458/page.htm",
    "https://www.dhu.edu.cn/2018/0104/c5958a189255/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c11566a192549/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c5955a192571/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c5956a192600/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c5958a192558/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c5958a192597/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c5959a192567/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c5959a192606/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c5960a192575/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c5961a192542/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c5962a192544/page.htm",
    "https://www.dhu.edu.cn/2018/0326/c5963a192561/page.htm",
    "https://www.dhu.edu.cn/2018/0329/c14087a192765/page.htm",
    "https://www.dhu.edu.cn/2018/0402/c5960a193067/page.htm",
    "https://www.dhu.edu.cn/2018/0404/c11566a193303/page.htm",
    "https://www.dhu.edu.cn/2018/0408/c5960a193346/page.htm",
    "https://www.dhu.edu.cn/2018/0408/c5960a193360/page.htm",
    "https://www.dhu.edu.cn/2018/0504/c5960a194946/page.htm",
    "https://www.dhu.edu.cn/2018/0608/c5964a197269/page.htm",
    "https://www.dhu.edu.cn/2018/0619/c11566a197759/page.htm",
    "https://www.dhu.edu.cn/2018/0706/c11566a198608/page.htm",
    "https://www.dhu.edu.cn/2018/0906/c5958a199745/page.htm",
    "https://www.dhu.edu.cn/2018/0912/c5958a200103/page.htm",
    "https://www.dhu.edu.cn/2018/0929/c5963a200896/page.htm",
    "https://www.dhu.edu.cn/2018/1010/c5963a201224/page.htm",
    "https://www.dhu.edu.cn/2018/1022/c5956a202316/page.htm",
    "https://www.dhu.edu.cn/2019/0107/c14087a208653/page.htm",
    "https://www.dhu.edu.cn/2019/0107/c14087a208654/page.htm",
    "https://www.dhu.edu.cn/2019/0107/c14087a208655/page.htm",
    "https://www.dhu.edu.cn/2019/0107/c14087a208657/page.htm",
    "https://www.dhu.edu.cn/2019/0228/c5961a209645/page.htm",
    "https://www.dhu.edu.cn/2019/0301/c5958a209728/page.htm",
    "https://www.dhu.edu.cn/2019/0401/c5955a211033/page.htm",
    "https://www.dhu.edu.cn/2019/0401/c5957a211036/page.htm",
    "https://www.dhu.edu.cn/2019/0401/c5960a211037/page.htm",
    "https://www.dhu.edu.cn/2019/0401/c5963a211031/page.htm",
    "https://www.dhu.edu.cn/2019/0401/c5966a211043/page.htm",
    "https://www.dhu.edu.cn/2019/0402/c14087a211054/page.htm",
    "https://www.dhu.edu.cn/2019/0402/c5958a211084/page.htm",
    "https://www.dhu.edu.cn/2019/0404/c5959a211228/page.htm",
    "https://www.dhu.edu.cn/2019/0408/c5955a211274/page.htm",
    "https://www.dhu.edu.cn/2019/0408/c5959a211271/page.htm",
    "https://www.dhu.edu.cn/2019/0408/c5959a211273/page.htm",
    "https://www.dhu.edu.cn/2019/0409/c10295a211335/page.htm",
    "https://www.dhu.edu.cn/2019/0409/c5955a211331/page.htm",
    "https://www.dhu.edu.cn/2019/0409/c5956a211355/page.htm",
    "https://www.dhu.edu.cn/2019/0409/c5957a211343/page.htm",
    "https://www.dhu.edu.cn/2019/0409/c5960a211336/page.htm",
    "https://www.dhu.edu.cn/2019/0409/c5969a211334/page.htm",
    "https://www.dhu.edu.cn/2019/0410/c5957a211481/page.htm",
    "https://www.dhu.edu.cn/2019/0411/c5956a211519/page.htm",
    "https://www.dhu.edu.cn/2019/0411/c5965a211534/page.htm",
    "https://www.dhu.edu.cn/2019/0411/c5965a211535/page.htm",
    "https://www.dhu.edu.cn/2019/0412/c10295a211584/page.htm",
    "https://www.dhu.edu.cn/2019/0412/c10295a211593/page.htm",
    "https://www.dhu.edu.cn/2019/0415/c11566a211715/page.htm",
    "https://www.dhu.edu.cn/2019/0415/c11566a211716/page.htm",
    "https://www.dhu.edu.cn/2019/0415/c11566a211719/page.htm",
    "https://www.dhu.edu.cn/2019/0415/c11566a211720/page.htm",
    "https://www.dhu.edu.cn/2019/0415/c11566a211721/page.htm",
    "https://www.dhu.edu.cn/2019/0415/c5964a211684/page.htm",
    "https://www.dhu.edu.cn/2019/0415/c5964a211704/page.htm",
    "https://www.dhu.edu.cn/2019/0422/c5961a212269/page.htm",
    "https://www.dhu.edu.cn/2019/0603/c5964a216086/page.htm",
    "https://www.dhu.edu.cn/2019/0829/c5958a218714/page.htm",
    "https://www.dhu.edu.cn/2019/1016/c5958a219108/page.htm",
    "https://www.dhu.edu.cn/2019/1016/c5967a219106/page.htm",
    "https://www.dhu.edu.cn/2019/1225/c5957a221615/page.htm",
    "https://www.dhu.edu.cn/2020/0507/c11566a222529/page.htm",
    "https://www.dhu.edu.cn/2020/0507/c11566a222530/page.htm",
    "https://www.dhu.edu.cn/2020/0508/c11566a222534/page.htm",
    "https://www.dhu.edu.cn/2020/0511/c11566a222544/page.htm",
    "https://www.dhu.edu.cn/2020/0519/c5958a222594/page.htm",
    "https://www.dhu.edu.cn/2020/0519/c5958a222596/page.htm",
    "https://www.dhu.edu.cn/2020/0520/c5958a222606/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c14087a226991/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c14087a226993/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c14087a226994/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5955a227015/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5955a227017/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5956a226996/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5956a226998/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5956a227000/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5957a226995/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5957a227018/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5957a227019/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5957a227021/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5957a227022/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5958a227002/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5958a227010/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5958a227024/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5959a227008/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5961a227007/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5962a227004/page.htm",
    "https://www.dhu.edu.cn/2021/0430/c5964a227005/page.htm",
    "https://www.dhu.edu.cn/2021/0506/c17310a227046/page.htm",
    "https://www.dhu.edu.cn/2021/0506/c5955a227035/page.htm",
    "https://www.dhu.edu.cn/2021/0506/c5955a227045/page.htm",
    "https://www.dhu.edu.cn/2021/0506/c5957a227036/page.htm",
    "https://www.dhu.edu.cn/2021/0506/c5958a227033/page.htm",
    "https://www.dhu.edu.cn/2021/0506/c5964a227038/page.htm",
    "https://www.dhu.edu.cn/2021/0506/c5964a227040/page.htm",
    "https://www.dhu.edu.cn/2021/0506/c5967a227047/page.htm",
    "https://www.dhu.edu.cn/2021/0603/c5955a227419/page.htm",
    "https://www.dhu.edu.cn/2021/0603/c5956a227421/page.htm",
    "https://www.dhu.edu.cn/2021/0603/c5957a227420/page.htm",
    "https://www.dhu.edu.cn/2021/0603/c5958a227427/page.htm",
    "https://www.dhu.edu.cn/2021/0603/c5958a227428/page.htm",
    "https://www.dhu.edu.cn/2021/0603/c5960a227423/page.htm",
    "https://www.dhu.edu.cn/2021/0603/c5961a227424/page.htm",
    "https://www.dhu.edu.cn/2021/0603/c5962a227422/page.htm",
    "https://www.dhu.edu.cn/2021/0603/c5962a227425/page.htm",
    "https://www.dhu.edu.cn/2021/0603/c5962a227426/page.htm"]
con = ConDb()
r = requests.session()
for i in li:
    print(i)
    t = r.get(i).text
    html = t.encode("ISO-8859-1").decode("utf-8")
    etr = etree.HTML(html)
    try:
        etr1 = etr.xpath('//div[@class="wp_articlecontent"]')[0]
    except IndexError as e:
        continue
    tr_dom = (etree.tostring(etr1, encoding="utf-8", pretty_print=True, method="html")).decode("utf-8")  # 可以正常显示中文
    tr_dom = tr_dom.encode().replace(b'  ', b'').replace(b"'", b'"').decode("utf-8")

    # tr_dom = str(tr_dom)[2:-1:]
    # print(tr_dom)
    sql = '''
            update talent_info set content ='{}' where mainurl ='{}'
        '''.format(tr_dom, i)
    con.runSql(sql)
    # break
